Shader.setDefaultBlock

This creates a state in the current shader to which block will be accessed when using setVertexVar(".property"). If no default block is set ("") .property will always access the first block defined

class Shader
void
setDefaultBlock
(
string blockName
)

Parameters

blockName string

Which block will be accessed with .property

Meta